import './css/style.css';
import img1 from './img/a3.png';

const h2 = document.createElement('h2');
h2.innerHTML = '我的代码没有问题'


const img = document.createElement('img');
img.src = img1
h2.appendChild(img);
document.body.appendChild(h2);